package com.labot.dao;

import com.labot.model.Area;

import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Set;

/**
 * User Data Access Object (GenericDao) interface.
 *
 * @author <a href="mailto:matt@raibledesigns.com">Matt Raible</a>
 */
public interface AreaDao extends GenericDao<Area, Long> {

    
    @Transactional
    Area buscarAreaPorNombre(String nombre) throws Exception;

  
    Set<Area> getAreas();

   
    Area saveArea(Area area);
    
    Area buscarArea(Long id);

   
    
}
